package com.chrray.position.util.file;

import java.io.File;

/**
 * @author LM
 * @date 2023/11/27 17:53
 */
public class VIdeoFileUtil {
    public static void deleteFileByIO(String filePath) {
        File file = new File(filePath);
        File[] list = file.listFiles();
        if (list != null) {
            for (File temp : list) {
                deleteFileByIO(temp.getAbsolutePath());
            }
        }
        file.delete();
    }
}
